package com.fujica.invoicing.entity;

import lombok.Data;

import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商品成本表(TGoodsCost)实体类
 *
 * @author makejava
 * @since 2020-08-11 11:30:18
 */
@Table(name = "t_goods_cost")
@Data
public class TGoodsCost implements Serializable {
    private static final long serialVersionUID = -85487249013868434L;

    private Integer sellId;

    private Integer gId;
    /**
     * 进货价格
     */
    private BigDecimal purPrice;

    private Integer gNum;

    public TGoodsCost(Integer sellId, Integer gId, BigDecimal purPrice, Integer gNum) {
        this.sellId = sellId;
        this.gId = gId;
        this.purPrice = purPrice;
        this.gNum = gNum;
    }
}